package Object;

public class ConstructorTest {
    public static void main(String[] args) {
        Constructor s1=new Constructor("肖晶晶","女",18);
        System.out.println(s1.name);
        System.out.println(s1.gender);
        System.out.println(s1.age);
        //再new一个对象
        Constructor s2=new Constructor("赵梓彤","女",18);
        System.out.println(s2.name);
        System.out.println(s2.gender);
        System.out.println(s2.age);

    }
}
